package com.iring.vo.pbx;

/**
 * 返回信息
 *
 * @author wanggan
 */
public class PBXRes {

    private Integer code = 200;

    private String msg = "okay";

    public PBXRes() {
    }

    public PBXRes(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "{code:" + code + ",msg:" + msg + "}";
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
